import Header from './Header/Header'
import { HashRouter as Router, Route, Routes, Navigate} from 'react-router-dom'

import Home from '../views/Home/Home'
import Personal from '../views/Personal/Personal'

const Layout = () => {
  return (
    <>
      <Router>
        <Header></Header>
        
        <Routes>
          <Route path='/home' element={<Home/ >}></Route>
          <Route path='/my' element={<Personal />}></Route>
        </Routes>
      </Router>

      <div>footer</div>
    </>
  )
}

export default Layout